Add missing brackets to comparison ...isdigit().
authoroliskoli <oliskoli@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 5 Apr 2006 20:31:31 +0000 (20:31 +0000)
committeroliskoli <oliskoli@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 5 Apr 2006 20:31:31 +0000 (20:31 +0000)
gpsbabel/vecs.c

index 37a56c3aa099eec751211008dba4a0ae868c7896..e0215cfb92887d5421eb43fc35bac50c4df36386 100644 (file)
@@ -594,7 +594,7 @@ assign_option(const char *module, arglist_t *ap, const char *val)
                                        case 'N':
                                        case 'n': c = "0"; break;
                                        default:
-                                               if isdigit(*c) {
+                                               if (isdigit(*c)) {
                                                        if (*c == '0') c = "0";
                                                        else c = "1";
                                                }